﻿using DTcms.Core.Common.Helper;
using Microsoft.AspNetCore.Mvc;

namespace DTcms.Core.API.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class PingController : ControllerBase
    {
        [HttpGet]
        public IActionResult Index()
        {
            MemoryCacheHelper.RemoveCacheAll();
            return Content("清除成功！");
        }
    }
}
